// cdn引入注释掉vue,注释掉也没啥用
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 按需导入vutify
import vuetify from './plugins/vuetify';
//import vuetify from './plugins/vuetify';
import mavonEditor from 'mavon-editor'
// 使用moment.js来格式化时间
 import moment from 'moment'
Vue.prototype.$moment = moment
import 'mavon-editor/dist/css/index.css'
// 导入axios网络模块
import axios from 'axios'
// 配置请求的根路径
axios.defaults.baseURL='https://www.gongzuwang.top:8089/'
Vue.prototype.$http=axios

Vue.use(mavonEditor)

Vue.config.productionTip = false
axios.interceptors.request.use(config=>{
  config.headers.authToken=window.localStorage.getItem('authToken');
  return config;
})
import '@/assets/css/global.css'
new Vue({
  router,
  store,
  vuetify,
  render: h => h(App)
}).$mount('#app')
